<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    var a = {a: 1,b: 2,c: 34}
    for (const Key in a) {
        console.log(Key, a[Key])
    }
    /*
    * a 1
    * b 2
    * c 34*/
</script>
</html>